package Mangos::DB::Mangos::Command;

use strict;

use base qw(Mangos::DB::Mangos);

__PACKAGE__->meta->setup
(
    table   => 'command',

    columns => 
    [
        name     => { type => 'varchar', length => 50, not_null => 1 },
        security => { type => 'integer', default => '0', not_null => 1 },
        help     => { type => 'scalar', length => 4294967295 },
    ],

    primary_key_columns => [ 'name' ],
);

1;

package Mangos::DB::Mangos::Command::Manager;

use strict;
use warnings;

use base 'Rose::DB::Object::Manager';

sub object_class { 'Mangos::DB::Mangos::Command' }

__PACKAGE__->make_manager_methods('command');

1;
